package com.alibaba.aone.casestudy.common.entity;

import java.sql.Timestamp;
import java.util.Date;
import java.util.List;

import javax.mail.search.DateTerm;

import com.alibaba.aone.casestudy.common.BaseCondition;

/**
 * 类FailureConditions.java的实现描述：TODO 类实现描述 
 * @author yongchun.chengyc 2011-4-27 下午08:32:00
 */

/**
 * 筛选条件类
 * */
public class FailureConditions extends BaseCondition {
	private List<String> failureNumbers;
	private String rpDepartment;
	private String rpMan;

	private String correlationDepa;
	private List<Integer> statuses;

	private Date gmtStart;
	private Date gmtEnd;
	private List<Integer> ranks;
	
	private String rpManName;
	
	

	public String getRpManName() {
		String[] strarray = null;
		if(null!=rpMan){
		 String str=rpMan; 
	      strarray=str.split("-"); 
	      return strarray[1];
		}
		return null;
	}

	public String getRpDepartment() {
		return rpDepartment;
	}

	public void setRpDepartment(String rpDepartment) {
		this.rpDepartment = rpDepartment;
	}

	public String getRpMan() {
		return rpMan;
	}

	public void setRpMan(String rpMan) {
		this.rpMan = rpMan;
	}

	public String getCorrelationDepa() {
		return correlationDepa;
	}

	public void setCorrelationDepa(String correlationDepa) {
		this.correlationDepa = correlationDepa;
	}

	public List<Integer> getStatuses() {
		return statuses;
	}

	public void setStatuses(List<Integer> statuses) {
		this.statuses = statuses;
	}

	public Date getGmtStart() {
		return gmtStart;
	}

	public void setGmtStart(Date gmtStart) {
		this.gmtStart = gmtStart;
	}

	public Date getGmtEnd() {
		return gmtEnd;
	}

	public void setGmtEnd(Date gmtEnd) {
		this.gmtEnd = gmtEnd;
	}

	public List<Integer> getRanks() {
		return ranks;
	}

	public void setRanks(List<Integer> ranks) {
		this.ranks = ranks;
	}

	public List<String> getFailureNumbers() {
		return failureNumbers;
	}

	public void setFailureNumbers(List<String> failureNumbers) {
		this.failureNumbers = failureNumbers;
	}

}
